import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { IdentityLayoutComponent } from './identity-layout/identity-layout.component';
import { IdentityaComponent } from './identitya/identitya.component';
import { IdentitybComponent } from './identityb/identityb.component';
import { IdentitycComponent } from './identityc/identityc.component';
import { IdentitydComponent } from './identityd/identityd.component';

const routes: Routes = [
    {
        path: '', component: IdentityLayoutComponent,
        children: [
            {path: '', redirectTo: 'a', pathMatch: 'full'},
            {path: 'a', component: IdentityaComponent},
            {path: 'b', component: IdentitybComponent},
            {path: 'c', component: IdentitycComponent},
            {path: 'd', component: IdentitydComponent}
        ]
    }
];
@NgModule({
    imports: [ RouterModule.forChild(routes) ],
    exports: [ RouterModule ],
})
export class IdentityRoutingModule {}
